@import "~styles/config.scss";
.warp {
  display: flex;
  justify-content: space-between;
  height: 550px;
  padding: 20px;
  .left-hot {
    width: 375px;
    background: #e5eaef;
    height: 550px;
    overflow: hidden;
    overflow-y: auto;
    font-size: 0; //解决图片底下4像素问题
    .img-box {
      position: relative;
      width: 100%;
      img {
        width: 100%;
      }
      .dragResizeWrap {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        .resize-main {
          width: 100%;
          height: 100%;
          background-color: rgba(37, 137, 255, 0.2);
          .rank {
            position: absolute;
            top: 0;
            left: 0;
            width: 20px;
            height: 20px;
            background: #2589ff;
            color: #fff;
            text-align: center;
            line-height: 20px;
            font-size: 12px;
          }
        }
      }
    }
  }

  //   隐藏滚动条
  .left-hot::-webkit-scrollbar {
    display: none;
  }

  .right-link {
    width: 300px;
    height: 550px;
    background: #f6f6f7;
    position: relative;

    .linkList {
      box-sizing: border-box;
      height: 100%;
      overflow: hidden;
      overflow-y: auto;
      padding-bottom: 80px;
      .link-item {
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0px 10px 5px 10px;
        .left {
          .checkedLink {
            cursor: pointer;
            color: #2589ff;
          }
        }

        .center {
          flex: 1;
        }

        .right {
          color: $--color-text-secondary;
          .update,
          .delete {
            cursor: pointer;
          }

          .delete {
            margin-left: 5px;
          }
        }
      }

      .link-item:hover {
        .right {
          color: $--color-text-primary;
        }
      }
    }

    //   隐藏滚动条
    .linkList::-webkit-scrollbar {
      display: none;
    }

    .link-footer {
      box-sizing: border-box;
      width: 300px;
      height: 40px;
      position: absolute;
      bottom: 5px;
      padding: 0 5px;
      .btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        background: #fff;
        height: 100%;
        color: #2589ff;
        cursor: pointer;
      }

      .shadow {
        box-shadow: 0 0 5px rgba(37, 137, 255, 0.5);
      }
    }
  }
}
